package org.peoples.ui.chat {
	
	import mx.containers.VBox;
	
	import org.peoples.messages.Message;
	
	public class ChatArea extends VBox {
		
		private var _messages:Array;
		
		public function ChatArea() {
			
			super();
			
		}
		
		public function addMessage(message:Message):void {
			var item:ChatItem = new ChatItem();
			item.message = message;
			item.width = width;
			
			addChild(item);
		}
		
	}
	
}